<h2 class="sub-header">编辑联系人</h2>
        <div class="table-responsive">
          <form (ngSubmit)="editContact()">
            <div class="form-group">
              <label for="name">姓名</label>
              <input type="text" class="form-control" id="name" name='name' [(ngModel)]="formData.name" placeholder="Name">
            </div>
            <div class="form-group">
              <label for="email">邮箱</label>
              <input type="email" name='email' [(ngModel)]="formData.email" class="form-control" id="email" placeholder="Email">
            </div>
            <div class="form-group">
              <label for="exampleInputPassword1">电话</label>
              <input type="number" name='phone' [(ngModel)]="formData.phone" class="form-control" id="exampleInputPassword1" placeholder="Password">
            </div>
            <button type="submit" class="btn btn-info">保存</button>
          </form>
        </div>